package models

import "time"

/**
 * @Author: zhaobin
 * @Description 商品图片模型
 * @Date: 2022-05-10 13:18
 */

type GoodsImage struct {
	Id        int64     `json:"id"`
	GoodsId   int64     `json:"goods_id"`
	ImgUrl    string    `json:"img_url"`
	Sort      int       `json:"sort"`
	Status    int       `json:"status"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (GoodsImage) TableName() string {
	return "goods_image"
}
